package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    String save(MybatisReviewVO mybatisReviewVO);

    Integer delete(Long id);

    String update(MybatisReviewVO mybatisReviewVO);

    Review findById (Long id);

    //分页查询
    List<Review> getDataTablePage(Integer pageNum, Integer pageSize);
}
